package com.lailai.service;

import com.lailai.constant.Operator;
import com.lailai.entity.SimpleExpression;

/**
 * @Author lgr
 * @Date 2025/9/22
 * @Email 983105834@qq.com
 */
public interface Criterion {
    static Criterion of(String property, Operator operator, Object value, String dataSource) {
        return new SimpleExpression(property, operator, value, dataSource);
    }
}
